cmake_minimum_required(VERSION 3.28)
project(webserver C)

set(CMAKE_C_STANDARD 99)

add_executable(webserver main.c
        readfile.c
        include/readfile.h
        get_server_socket.c
        hand_error.c
        include/hand_error.h
        include/get_server_socket.h
        response_http.c
        include/response_http.h
        hand_socket_stream.c
        include/hand_socket_stream.h
        epoll_server.c
        epoll_event_hand.c
        include/epoll_event_hand.h
        include/epoll_server.h)
